<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;

use App\Http\Requests;
use App\Http\Controllers\Controller;

//导入验证码类
require_once'resources\org\code\Code.class.php';

class LoginController extends Controller
{
	//登陆
    public function login()
	{
		return view('admin.login');
	}
	
	
	//验证码
	public function code()
	{
		//实例化验证码类
		$code = new \Code();
		echo $code -> make();
	}
}
